// 子元素接口
export interface BasicFormItem {
  itemType: "input" | "inputNumber" | "textarea" | "select" | "cascader" | "checkbox" | "datePicker" | "datePickerTime"  | "radio" | "switch";
  inputType?: "text" | "password" | "number";       //input输入框类型
  label: string;
  prop: string;
  placeholder?: string;
  optionsList?: Array<OptionsData>;
  [propName: string]: any;
  dateType?: string;
}

export interface FormInfo {
  [propName: string]: any;
}

// 下拉框数据类型接口
export interface OptionsData {
  label?: string;
  value?: string | number;
  children?: Array<OptionsData>;
}
